package model;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author gubengang
 * @create 2021-09-30 19:22
 */
public class Core {
    private Integer coreId;
    private double cruTs = 0.0;
    private Map<Integer, List<Integer>> taskMap = new HashMap<>();

    public Core(Integer coreId){
        this.coreId =coreId;
    }

    public Integer getCoreId() {
        return coreId;
    }

    public void setCoreId(Integer coreId) {
        this.coreId = coreId;
    }

    public double getCruTs() {
        return cruTs;
    }

    public void setCruTs(double cruTs) {
        this.cruTs = cruTs;
    }

    public Map<Integer, List<Integer>> getTaskMap() {
        return taskMap;
    }

    public void setTaskMap(Map<Integer, List<Integer>> taskMap) {
        this.taskMap = taskMap;
    }
}
